<?PHP
// load Smarty library
require('Smarty.class.php');

class smarty_connect extends Smarty 
{
	function smarty_connect()
   {
   		parent::__construct();
		
		$smarty->compile_check = true;
		$smarty->debugging = false;
		
		
		$smarty->template_dir 	= '/projects/newmasmedio/templates';
		$smarty->config_dir 	= '/projects/newmasmedio/configs';
		$smarty->cache_dir 		= '/projects/newmasmedio/webroot/cache';
		$smarty->compile_dir	= '/projects/newmasmedio/webroot/templates_c';
		/*$smarty->config_dir 	= 'C:\web\newmasmedio\configs';
		$smarty->cache_dir 		= 'C:\Smarty\masmedio\cache';
		$smarty->compile_dir	= 'C:\Smarty\masmedio\templates_c';
*/
		$this->assign('app_name', 'masmedio');
   }
}